<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>QuantumLibrary: Bloomberg::quantum::DispatcherCore Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">QuantumLibrary
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('da/daa/classBloomberg_1_1quantum_1_1DispatcherCore.html','../../');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="../../d6/d38/classBloomberg_1_1quantum_1_1DispatcherCore-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Bloomberg::quantum::DispatcherCore Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Class implementing the dispatching logic unto worker threads. Used for both coroutines and IO tasks.  
 <a href="../../da/daa/classBloomberg_1_1quantum_1_1DispatcherCore.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="../../d2/d44/quantum__dispatcher__core_8h_source.html">quantum_dispatcher_core.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Bloomberg::quantum::DispatcherCore:</div>
<div class="dyncontent">
 <div class="center">
  <img src="../../da/daa/classBloomberg_1_1quantum_1_1DispatcherCore.png" usemap="#Bloomberg::quantum::DispatcherCore_map" alt=""/>
  <map id="Bloomberg::quantum::DispatcherCore_map" name="Bloomberg::quantum::DispatcherCore_map">
<area href="../../d9/ddb/structBloomberg_1_1quantum_1_1ITerminate.html" title="Represents an object which can be terminated. This interface allows certain objects to be explicitly ..." alt="Bloomberg::quantum::ITerminate" shape="rect" coords="0,0,219,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae747f986c1d7522fd4ed0c4b3de96732"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/daa/classBloomberg_1_1quantum_1_1DispatcherCore.html#ae747f986c1d7522fd4ed0c4b3de96732">~DispatcherCore</a> ()</td></tr>
<tr class="separator:ae747f986c1d7522fd4ed0c4b3de96732"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2dacf07e91eac243eb8f04fd15439a68"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/daa/classBloomberg_1_1quantum_1_1DispatcherCore.html#a2dacf07e91eac243eb8f04fd15439a68">terminate</a> () final</td></tr>
<tr class="memdesc:a2dacf07e91eac243eb8f04fd15439a68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Terminates the object.  <a href="#a2dacf07e91eac243eb8f04fd15439a68">More...</a><br /></td></tr>
<tr class="separator:a2dacf07e91eac243eb8f04fd15439a68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22af778923be5c27ee28afee507ff526"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/daa/classBloomberg_1_1quantum_1_1DispatcherCore.html#a22af778923be5c27ee28afee507ff526">size</a> (<a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#a5d3e6340ac9844b3fabb6759e1b7facb">IQueue::QueueType</a> type, int queueId) const</td></tr>
<tr class="separator:a22af778923be5c27ee28afee507ff526"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02e7eae389a072f05d1992c32c0b78f0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/daa/classBloomberg_1_1quantum_1_1DispatcherCore.html#a02e7eae389a072f05d1992c32c0b78f0">empty</a> (<a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#a5d3e6340ac9844b3fabb6759e1b7facb">IQueue::QueueType</a> type, int queueId) const</td></tr>
<tr class="separator:a02e7eae389a072f05d1992c32c0b78f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0eda12947329e9ee3e96e3e85d5b565d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d1/d7b/classBloomberg_1_1quantum_1_1QueueStatistics.html">QueueStatistics</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/daa/classBloomberg_1_1quantum_1_1DispatcherCore.html#a0eda12947329e9ee3e96e3e85d5b565d">stats</a> (<a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#a5d3e6340ac9844b3fabb6759e1b7facb">IQueue::QueueType</a> type, int queueId)</td></tr>
<tr class="separator:a0eda12947329e9ee3e96e3e85d5b565d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeea390ebcc2e7fc5dbbb0f7e86c9a818"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/daa/classBloomberg_1_1quantum_1_1DispatcherCore.html#aeea390ebcc2e7fc5dbbb0f7e86c9a818">resetStats</a> ()</td></tr>
<tr class="separator:aeea390ebcc2e7fc5dbbb0f7e86c9a818"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a826579f9aaf8b89a38bbc45c16e865b3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/daa/classBloomberg_1_1quantum_1_1DispatcherCore.html#a826579f9aaf8b89a38bbc45c16e865b3">post</a> (<a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#a2d6e0bcef2e9f07d966c9734f92f4969">Task::Ptr</a> task)</td></tr>
<tr class="separator:a826579f9aaf8b89a38bbc45c16e865b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f58dcf2f653fb41460b97c48d467d5d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/daa/classBloomberg_1_1quantum_1_1DispatcherCore.html#a2f58dcf2f653fb41460b97c48d467d5d">postAsyncIo</a> (<a class="el" href="../../d4/d8b/classBloomberg_1_1quantum_1_1IoTask.html#af433efa37f8b3dffd03e3aa614acc9f5">IoTask::Ptr</a> task)</td></tr>
<tr class="separator:a2f58dcf2f653fb41460b97c48d467d5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a717239b790a7ceadd80099bad1bf919c"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/daa/classBloomberg_1_1quantum_1_1DispatcherCore.html#a717239b790a7ceadd80099bad1bf919c">getNumCoroutineThreads</a> () const</td></tr>
<tr class="separator:a717239b790a7ceadd80099bad1bf919c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ea94d05eaa30d66636a574f9c26d00e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/daa/classBloomberg_1_1quantum_1_1DispatcherCore.html#a5ea94d05eaa30d66636a574f9c26d00e">getNumIoThreads</a> () const</td></tr>
<tr class="separator:a5ea94d05eaa30d66636a574f9c26d00e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad444ad675fdf83330bdbe0707de6bd2e"><td class="memItemLeft" align="right" valign="top">const std::pair&lt; int, int &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/daa/classBloomberg_1_1quantum_1_1DispatcherCore.html#ad444ad675fdf83330bdbe0707de6bd2e">getCoroQueueIdRangeForAny</a> () const</td></tr>
<tr class="separator:ad444ad675fdf83330bdbe0707de6bd2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_structBloomberg_1_1quantum_1_1ITerminate"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_structBloomberg_1_1quantum_1_1ITerminate')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../d9/ddb/structBloomberg_1_1quantum_1_1ITerminate.html">Bloomberg::quantum::ITerminate</a></td></tr>
<tr class="memitem:a4086a8ce16fc2482ee77701d387b14d8 inherit pub_methods_structBloomberg_1_1quantum_1_1ITerminate"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/ddb/structBloomberg_1_1quantum_1_1ITerminate.html#a4086a8ce16fc2482ee77701d387b14d8">~ITerminate</a> ()=default</td></tr>
<tr class="memdesc:a4086a8ce16fc2482ee77701d387b14d8 inherit pub_methods_structBloomberg_1_1quantum_1_1ITerminate"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual destructor. This function is explicitly left empty.  <a href="../../d9/ddb/structBloomberg_1_1quantum_1_1ITerminate.html#a4086a8ce16fc2482ee77701d387b14d8">More...</a><br /></td></tr>
<tr class="separator:a4086a8ce16fc2482ee77701d387b14d8 inherit pub_methods_structBloomberg_1_1quantum_1_1ITerminate"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:ad90424f003fc2afb836709cbffa47e2c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d9/d6d/classclass.html">class</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/daa/classBloomberg_1_1quantum_1_1DispatcherCore.html#ad90424f003fc2afb836709cbffa47e2c">Dispatcher</a></td></tr>
<tr class="separator:ad90424f003fc2afb836709cbffa47e2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class implementing the dispatching logic unto worker threads. Used for both coroutines and IO tasks. </p>
<dl class="section note"><dt>Note</dt><dd>For internal use only. </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ae747f986c1d7522fd4ed0c4b3de96732"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae747f986c1d7522fd4ed0c4b3de96732">&#9670;&nbsp;</a></span>~DispatcherCore()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Bloomberg::quantum::DispatcherCore::~DispatcherCore </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a02e7eae389a072f05d1992c32c0b78f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02e7eae389a072f05d1992c32c0b78f0">&#9670;&nbsp;</a></span>empty()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Bloomberg::quantum::DispatcherCore::empty </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#a5d3e6340ac9844b3fabb6759e1b7facb">IQueue::QueueType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>queueId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ad444ad675fdf83330bdbe0707de6bd2e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad444ad675fdf83330bdbe0707de6bd2e">&#9670;&nbsp;</a></span>getCoroQueueIdRangeForAny()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const std::pair&lt; int, int &gt; &amp; Bloomberg::quantum::DispatcherCore::getCoroQueueIdRangeForAny </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a717239b790a7ceadd80099bad1bf919c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a717239b790a7ceadd80099bad1bf919c">&#9670;&nbsp;</a></span>getNumCoroutineThreads()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Bloomberg::quantum::DispatcherCore::getNumCoroutineThreads </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a5ea94d05eaa30d66636a574f9c26d00e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ea94d05eaa30d66636a574f9c26d00e">&#9670;&nbsp;</a></span>getNumIoThreads()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Bloomberg::quantum::DispatcherCore::getNumIoThreads </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a826579f9aaf8b89a38bbc45c16e865b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a826579f9aaf8b89a38bbc45c16e865b3">&#9670;&nbsp;</a></span>post()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Bloomberg::quantum::DispatcherCore::post </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#a2d6e0bcef2e9f07d966c9734f92f4969">Task::Ptr</a>&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a2f58dcf2f653fb41460b97c48d467d5d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f58dcf2f653fb41460b97c48d467d5d">&#9670;&nbsp;</a></span>postAsyncIo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Bloomberg::quantum::DispatcherCore::postAsyncIo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d4/d8b/classBloomberg_1_1quantum_1_1IoTask.html#af433efa37f8b3dffd03e3aa614acc9f5">IoTask::Ptr</a>&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aeea390ebcc2e7fc5dbbb0f7e86c9a818"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeea390ebcc2e7fc5dbbb0f7e86c9a818">&#9670;&nbsp;</a></span>resetStats()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Bloomberg::quantum::DispatcherCore::resetStats </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a22af778923be5c27ee28afee507ff526"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22af778923be5c27ee28afee507ff526">&#9670;&nbsp;</a></span>size()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t Bloomberg::quantum::DispatcherCore::size </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#a5d3e6340ac9844b3fabb6759e1b7facb">IQueue::QueueType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>queueId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a0eda12947329e9ee3e96e3e85d5b565d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0eda12947329e9ee3e96e3e85d5b565d">&#9670;&nbsp;</a></span>stats()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d1/d7b/classBloomberg_1_1quantum_1_1QueueStatistics.html">QueueStatistics</a> Bloomberg::quantum::DispatcherCore::stats </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#a5d3e6340ac9844b3fabb6759e1b7facb">IQueue::QueueType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>queueId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a2dacf07e91eac243eb8f04fd15439a68"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2dacf07e91eac243eb8f04fd15439a68">&#9670;&nbsp;</a></span>terminate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Bloomberg::quantum::DispatcherCore::terminate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Terminates the object. </p>
<dl class="section note"><dt>Note</dt><dd>This method should contain all logic necessary to properly cleanup this instance. </dd></dl>

<p>Implements <a class="el" href="../../d9/ddb/structBloomberg_1_1quantum_1_1ITerminate.html#a66e42ce854b5afbb7742c5ffdaae8503">Bloomberg::quantum::ITerminate</a>.</p>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="ad90424f003fc2afb836709cbffa47e2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad90424f003fc2afb836709cbffa47e2c">&#9670;&nbsp;</a></span>Dispatcher</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend <a class="el" href="../../d9/d6d/classclass.html">class</a> <a class="el" href="../../d0/da5/classBloomberg_1_1quantum_1_1Dispatcher.html">Dispatcher</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d6/db9/namespaceBloomberg.html">Bloomberg</a></li><li class="navelem"><a class="el" href="../../dc/d48/namespaceBloomberg_1_1quantum.html">quantum</a></li><li class="navelem"><a class="el" href="../../da/daa/classBloomberg_1_1quantum_1_1DispatcherCore.html">DispatcherCore</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
  </ul>
</div>
</body>
</html>
